<template>
  <div class="map-popup">
    <div class="headline">收益人数</div>
    <main class="main">
      <div class="firstLine">
        <div class="left">
          <span class="s1">法定代表人</span>
          <span class="s2">{{checkPoint.legalPerson || '-'}}</span>
        </div>
        <div class="right">
          <span class="s1">组织评估等级</span>
          <span class="s2">{{checkPoint.assessGrade || '-'}}</span>
        </div>
      </div>
      <div class="linebox">
        <span class="s1">地址</span>
        <span class="s2">{{checkPoint.address || '-'}}</span>
      </div>
      <div class="linebox">
        <span class="s1">注册资金</span>
        <span class="s2">{{checkPoint.registerMoney || '-'}}</span>
      </div>
      <div class="linebox">
        <span class="s1">组织类型</span>
        <span class="s2">{{checkPoint.type || '-'}}</span>
      </div>
      <div class="linebox">
        <span class="s1">组织成立时间</span>
        <span class="s2">{{checkPoint.registerDate || '-'}}</span>
      </div>
      <div class="linebox">
        <span class="s1">业务范围</span>
        <span class="s2">{{checkPoint.businessScope || '-'}}</span>
      </div>
      <div class="linebox">
        <span class="s1">业务主管单位</span>
        <span class="s2">{{checkPoint.managerment || '-'}}</span>
      </div>
      <div class="linebox">
        <span class="s1">活动地域</span>
        <span class="s2">{{checkPoint.activityArea || '-'}}</span>
      </div>
      <div class="linebox">
        <span class="s1">信用代码</span>
        <span class="s2">{{checkPoint.socialCreditCode || '-'}}</span>
      </div>
    </main>
  </div>
</template>
<script>
import { } from '@/api/index'
export default {
  props:{
    checkPoint:{
      type:Object,
      default:() => {
        return{}
      }
    }
  },
  data(){
    return{

    }
  },
  mounted(){
  },
  methods:{

  },

}
</script>
<style lang="scss" scoped>
@function companyW($num) {
  @return ($num * 100)/1920;
}
@function companyH($num) {
  @return ($num * 100)/1080;
}
.map-popup{
  width: companyW(452vw);
  height: companyH(499vh);
  background: url('../assets/images/map-popup.png') no-repeat;
  background-size: 100% 100%;
  padding: 0 companyW(24vw);
  box-sizing: border-box;
  .headline{
    font-size: companyH(24vh);
    line-height: companyH(46vh);
    margin-top: companyH(12vh);
    font-family: YouSheBiaoTiHei;
    font-weight: normal;
    text-indent: 0em;
    color: #70DCFF;
    background: linear-gradient(0deg, #70DCFF 6.1279296875%,#F0FDFF   4443359375%);
    -webkit-background-clip: text;
    // -webkit-text-fill-color: transparent;
  }
  .main{
    width: 100%;
    height:companyH(380vh);
    font-size: companyH(16vh);
    margin-top: companyH(24vh);
    margin-bottom: companyH(24vh);
    box-sizing: border-box;
    font-family: Source Han Sans CN;
    font-weight: 400;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    // background-color: aqua;
    .firstLine{
      display: flex;
      justify-content: space-between;
      align-items: center;
      .left{
        display: flex;
        .s1{
          width: companyW(102vw);
          text-align: justify;
          margin-right: companyW(10vw);
          opacity: 0.6;
          line-height: companyH(24vh);
        }
        .s1::after{
          display: inline-block;
          width: 100%;
          content: '';
        }
        .s2{
          display: inline-block;
          line-height: companyH(24vh);
        }
      }
      .right{
        display: flex;
        .s1{
          width: companyW(102vw);
          text-align: justify;
          margin-right: companyW(10vw);
          opacity: 0.6;
          line-height: companyH(24vh);
        }
        .s1::after{
          display: inline-block;
          width: 100%;
          content: '';
        }
        .s2{
          display: inline-block;
          line-height: companyH(24vh);
        }
      }
    }
    .linebox{
      display: flex;
      .s1{
        width: companyW(110vw);
        text-align: justify;
        margin-right: companyW(10vw);
        opacity: 0.6;
        line-height: companyH(24vh);
      }
      .s1::after{
        display: inline-block;
        width: 100%;
        content: '';
      }
      .s2{
        width: companyW(340vw);
        line-height: companyH(24vh);
      }
    }
  }
}
</style>
